<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'login'); ?>
		<?php echo $form->dropDownList($model,'login',TUtilidades::obtenerUsuarios(),array('empty'=>'--Seleccione--')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'nombre'); ?>
		<?php echo $form->textField($model,'nombre',array('size'=>60,'maxlength'=>75)); ?>
	</div>


	<div class="row">
		<?php echo $form->label($model,'codigointerno'); ?>
		<?php echo $form->textField($model,'codigointerno'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'roles_id'); ?>
		<?php echo $form->dropDownList($model,'roles_id',TUtilidades::obtenerRoles(),array('empty'=>'--Seleccione--')); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Buscar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->